package com.atguigu.ssyx.activity;

import com.atguigu.ssyx.common.config.annotation.EnableMybatisPlusConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 杨林
 * @create 2023-08-07 14:49 星期一
 * description: activity服务的启动类
 */
@SpringBootApplication
//@MapperScan("com.atguigu.ssyx.activity.mapper")
@EnableMybatisPlusConfig    //导入MybatisPlus相关配置
@EnableFeignClients(basePackages = "com.atguigu.ssyx.client.product")   //开启远程调用
public class ServiceActivityApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceActivityApplication.class,args);
    }
}
